package com.yunhai.recipe.service;

import com.yunhai.common.dto.PaginationVo;
import com.yunhai.model.entity.fms.FmsMaterialUnitEntity;
import com.yunhai.model.vo.fms.FmsMaterialUnitQuery;
import com.yunhai.model.vo.fms.FmsMaterialUnitVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.List;
import java.util.Set;


public interface FmsMaterialUnitService {

    /**
     * 获取 FmsMaterialUnit 分页列表
     */
    public IPage getFmsMaterialUnitPagination(PaginationVo paginationVo, FmsMaterialUnitQuery fmsMaterialUnitQuery ) throws Exception;


    /**
     * 获取 FmsMaterialUnit 所有数据
     *
    */
    public List<FmsMaterialUnitEntity> getFmsMaterialUnitAllList(FmsMaterialUnitQuery fmsMaterialUnitQuery ) throws Exception;


    /**
     * 获取 FmsMaterialUnit 详情
    */
    public FmsMaterialUnitEntity getFmsMaterialUnitDetail( Long id) throws Exception;


    /**
     * 新增 FmsMaterialUnit
     * */
    public void addFmsMaterialUnit(FmsMaterialUnitVo fmsMaterialUnitVo) throws Exception;


    /**
     * 更新 FmsMaterialUnit
     * */
    public void updateFmsMaterialUnit( FmsMaterialUnitVo fmsMaterialUnitVo) throws Exception;

    /**
     * 删除 FmsMaterialUnit
     * */
    public void batchRemoveFmsMaterialUnit( List<Long> ids ) throws Exception;

    List<FmsMaterialUnitEntity> getUnitListByIds(Set<Long> unitIds) throws Exception;
}

      